const { _hash, injectWMDA } = require('./util')

const ConfigStatic = {
  BASE_TITLE: 'EPFE H5 Vite Template',
  BASE_ICON: '//j1.58cdn.com.cn/epfe/static/favicon.ico',
  BASE_HASH: _hash,
  BASE_URL: {
    development: '/',
    online: '//j1.58cdn.com.cn/git/mdsfe/matrix-template/h5-vite/',
    test: '//j1.58cdn.com.cn/git/mdsfe/matrix-template/h5-vite/test'
  },
  proxy: {
    '/api': {
      target: 'https://mdsfe.58v5.cn/',
      changeOrigin: true,
      rewrite: (path) => path.replace(/^\/api/, '')
    }
  },
  BASE_INJECT: injectWMDA({
    appid: 25686197833139, 
    key: '6fe01r2y',
    project_id: '19481878409907'})
}

module.exports = ConfigStatic
